package com.lagou.dao;

import com.lagou.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.io.IOException;
import java.util.List;

public interface UserMapper {

    //@Select("select * from user order by id")
    List<User> findAll() throws IOException;

    void add(User user);

    void update(User user);

    void delete(int id);
}
